import getConfig from "next/config";
import { useEffect } from "react";
import axios from "axios";

const { publicRuntimeConfig } = getConfig();

const Home = () => {
  useEffect(() => {
    // axios.get('/api/user/info').then(resp => console.log(resp))
  }, []);

  return <a href={publicRuntimeConfig.OAUTH_URL}>登录</a>;
};

export default Home;
